package net.zoneland.knowledge.model;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 党小组对象.
 */
public class PartyGroup implements Serializable {
    private static final long serialVersionUID = -1L;

    /**
     * 是否失效
     */
    @JsonProperty(value = "isCancel")
    private boolean cancel;

    /**
     * 党小组ID
     */
    private int orgGroupID;

    /**
     * 组长
     */
    private String orgGroupLeader;

    /**
     * 成员列表
     */
    private String orgGroupMembers;

    /**
     * 党小组UUID
     */
    private String orgGroupUUID;

    /**
     * 党小组所在上一级组织ID
     */
    private String orgParentUUID;

    /**
     * 公司名称
     */
    @JsonIgnore
    private String companyName;

    /**
     * 公司编号
     */
    @JsonIgnore
    private String companyDn;

    /**
     * 数据记录时间
     */
    @JsonIgnore
    private Date importTime;

    /**
     * 党小组名称
     */
    private String orgGroupName;

    /**
     * 党小组上一党组织名称
     */
    private String orgGroupParentName;

    public Date getImportTime() {
        return importTime;
    }

    public void setImportTime(Date importTime) {
        this.importTime = importTime;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getCompanyDn() {
        return companyDn;
    }

    public void setCompanyDn(String companyDn) {
        this.companyDn = companyDn;
    }

    public boolean isCancel() {
        return cancel;
    }

    public void setCancel(boolean cancel) {
        this.cancel = cancel;
    }

    public int getOrgGroupID() {
        return orgGroupID;
    }

    public void setOrgGroupID(int orgGroupID) {
        this.orgGroupID = orgGroupID;
    }

    public String getOrgGroupLeader() {
        return orgGroupLeader;
    }

    public void setOrgGroupLeader(String orgGroupLeader) {
        this.orgGroupLeader = orgGroupLeader;
    }

    public String getOrgGroupMembers() {
        return orgGroupMembers;
    }

    public void setOrgGroupMembers(String orgGroupMembers) {
        this.orgGroupMembers = orgGroupMembers;
    }

    public String getOrgGroupUUID() {
        return orgGroupUUID;
    }

    public void setOrgGroupUUID(String orgGroupUUID) {
        this.orgGroupUUID = orgGroupUUID;
    }

    public String getOrgParentUUID() {
        return orgParentUUID;
    }

    public void setOrgParentUUID(String orgParentUUID) {
        this.orgParentUUID = orgParentUUID;
    }

    public String getOrgGroupName() {
        return orgGroupName;
    }

    public void setOrgGroupName(String orgGroupName) {
        this.orgGroupName = orgGroupName;
    }

    public String getOrgGroupParentName() {
        return orgGroupParentName;
    }

    public void setOrgGroupParentName(String orgGroupParentName) {
        this.orgGroupParentName = orgGroupParentName;
    }
}
